<?php
namespace app\index\model;
class Access{
	 public static function check_access()
    {
        //echo "string";
        if(!session('user_no')){
            echo "<script>location.href='".url('index/face/index')."'</script>";exit;

        }
    }
}